package cn.dengta.webapp.push.dto;

import java.math.BigDecimal;

import cn.dengta.webapp.base.vo.AbstractVO;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
public class DailyTaskDTO extends AbstractVO<Void> {

	/** 钻石数 */
	public Integer coin;
	/** 积分数 */
	public BigDecimal integral;
	/** 用户ID */
	public String toUserId;
	/** 标题 */
	protected String name;
	/** 信息 */
	protected String msg;
	/** 模式 */
	protected String mode;

	public DailyTaskDTO init(Integer coin, String name, String msg) {
		this.coin = coin;
		this.name = name;
		this.msg = msg;
		return this;
	}

	public DailyTaskDTO init(BigDecimal integral, String name) {
		this.integral = integral;
		this.name = name;
		return this;
	}

}
